<script setup lang="ts"></script>

<template>
  <el-card class="category-card" style="width: 100%">
    <el-form label-width="auto" :inline="true" class="form-inline">
      <el-form-item label="一级分类">
        <el-select>
          <el-option label="Zone one" value="shanghai" />
          <el-option label="Zone two" value="beijing" />
        </el-select>
      </el-form-item>
      <el-form-item label="二级分类">
        <el-select>
          <el-option label="Zone one" value="shanghai" />
          <el-option label="Zone two" value="beijing" />
        </el-select>
      </el-form-item>
      <el-form-item label="三级分类">
        <el-select>
          <el-option label="Zone one" value="shanghai" />
          <el-option label="Zone two" value="beijing" />
        </el-select>
      </el-form-item>
    </el-form>
  </el-card>
</template>

<style scoped>
.category-card {
  padding-left: 0.5rem;
  margin-bottom: 1rem;

  .form-inline {
    display: flex;

    .el-select {
      --el-select-width: 15rem;
    }
  }
}
</style>
